import { http } from '@/common/https.js'

// 获取车辆列表
export const carListApi = (data) => {
  return http({
    url: `/logistics/car/list`,
    method: 'get',
    data,
    custid: true
  })
}

// 删除车辆
export const carDeleteApi = (id) => {
  return http({
    url: `/logistics/car/${id}`,
    method: 'delete'
  })
}
